package com.york.jobmew.subject.domain.convert.subject;

import com.york.jobmew.subject.domain.entity.SubjectInfoBO;
import com.york.jobmew.subject.infra.basic.entity.SubjectBrief;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * mapstruct的bean转换
 * 简答题转换
 */
@Mapper
public interface SubjectBriefConverter {

    SubjectBriefConverter INSTANCE = Mappers.getMapper(SubjectBriefConverter.class);

    SubjectBrief convertBoToEntity(SubjectInfoBO subjectInfoBO);

}
